﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sharp.Domain.Model;
using Sharp.Infrastructure;
using Sharp.Infrastructure.Interfaces;

namespace Sharp.Domain.CMSBoundedContext.VIUModule.Aggregates
{
    /// <summary>
    /// 栏目
    /// </summary>
    public class Column : AggregateRoot, IStandardEntity, IStandardState, ITreeEntity
    {
        public string Name { get; set; }
        public Guid? ParentId { get; set; }
        public int OrderIndex { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(255)]
        public string Remark { get; set; }
        public DateTime? CheckInTime { get; set; }
        public Guid? CheckInUserId { get; set; }
        public DateTime? ModifiTime { get; set; }
        public Guid? ModifiedUserId { get; set; }
        public EntityStateOperate EntityState { get; set; }
    }
}
